package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 消息公告管理对象 yl_message_control
 * 
 * @author ruoyi
 * @date 2022-02-18
 */
public class YlMessageControl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 消息公告id */
    private Long messageId;

    /** 通知标题 */
    @Excel(name = "通知标题")
    private String messageHead;

    /** 消息内容 */
    @Excel(name = "消息内容")
    private String messageContent;

    public void setMessageId(Long messageId) 
    {
        this.messageId = messageId;
    }

    public Long getMessageId() 
    {
        return messageId;
    }
    public void setMessageHead(String messageHead) 
    {
        this.messageHead = messageHead;
    }

    public String getMessageHead() 
    {
        return messageHead;
    }
    public void setMessageContent(String messageContent) 
    {
        this.messageContent = messageContent;
    }

    public String getMessageContent() 
    {
        return messageContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("messageId", getMessageId())
            .append("messageHead", getMessageHead())
            .append("messageContent", getMessageContent())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
